#!/bin/sh
echo "参数个数:$#"
echo "脚本名字:$0"
echo "参数1:$1"
echo "参数2:$2"
echo "所有参数列表:$@"
echo "pid:$$"
if [ $1 = 100 ]
then
    echo "命令退出状态：$?"
    exit 0 #参数正确，退出状态为0
    else
    echo "命令退出状态：$?"
    exit 1 #参数错误，退出状态1
fi
